package com.nt.oam.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nt.common.annotation.Excel;
import com.nt.common.core.domain.BaseEntity;

/**
 * 医院信息对象 ant_hospital
 *
 * @author JZFeng
 * @date 2025-02-05
 */
@TableName(resultMap = "com.nt.oam.mapper.AntHospitalMapper.AntHospitalResult" )
public class AntHospital extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 机构信息表
     */
    @TableId(value = "hospital_id" , type = IdType.AUTO)
    private Long hospitalId;

    /**
     * 机构代码
     */
    @Excel(name = "机构代码" )
    private String hospitalCode;

    /**
     * 机构logo
     */
    @Excel(name = "机构logo" )
    private String hospitalLogo;

    /**
     * 机构名称
     */
    @Excel(name = "机构名称" )
    private String hospitalName;

    /**
     * 机构级别
     */
    @Excel(name = "机构级别" )
    private String hospitalRank;

    /**
     * 机构类型
     */
    @Excel(name = "机构类型" )
    private String hospitalType;

    /**
     * 机构地址
     */
    @Excel(name = "机构地址" )
    private String hospitalAddress;

    /**
     * 创建人
     */
    private String createPerson;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 是否删除
     */
    private Integer isDeleted;
    /**
     * 是否正在修改, 0-不在修改， 1-正在修改
     */
    private Integer isModify;

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalLogo(String hospitalLogo) {
        this.hospitalLogo = hospitalLogo;
    }

    public String getHospitalLogo() {
        return hospitalLogo;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalRank(String hospitalRank) {
        this.hospitalRank = hospitalRank;
    }

    public String getHospitalRank() {
        return hospitalRank;
    }

    public void setHospitalType(String hospitalType) {
        this.hospitalType = hospitalType;
    }

    public String getHospitalType() {
        return hospitalType;
    }

    public void setHospitalAddress(String hospitalAddress) {
        this.hospitalAddress = hospitalAddress;
    }

    public String getHospitalAddress() {
        return hospitalAddress;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsModify(Integer isModify) {
        this.isModify = isModify;
    }

    public Integer getIsModify() {
        return isModify;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("hospitalId" , getHospitalId())
                .append("hospitalCode" , getHospitalCode())
                .append("hospitalLogo" , getHospitalLogo())
                .append("hospitalName" , getHospitalName())
                .append("hospitalRank" , getHospitalRank())
                .append("hospitalType" , getHospitalType())
                .append("hospitalAddress" , getHospitalAddress())
                .append("createTime" , getCreateTime())
                .append("createPerson" , getCreatePerson())
                .append("updateTime" , getUpdateTime())
                .append("updatePerson" , getUpdatePerson())
                .append("isDeleted" , getIsDeleted())
                .append("isModify" , getIsModify())
                .toString();
    }
}
